package com.coderman.common.model.student;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * MyBatis Generator工具自动生成2023/01/11
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("")
@Table(name = "`c_accommodation`")
public class Accommodation {
    @Id
    @Column(name = "`accommodationId`")
    @ApiModelProperty("")
    private Integer accommodationId;

    @Column(name = "`studentId`")
    @ApiModelProperty("")
    private String studentId;

    @Column(name = "`remakes`")
    @ApiModelProperty("")
    private String remakes;

    @Column(name = "`dormNumber`")
    @ApiModelProperty("")
    private String dormNumber;

    @Column(name = "`createTime`")
    @ApiModelProperty("")
    private String createTime;

    @Column(name = "`dormType`")
    @ApiModelProperty("")
    private Integer dormType;

    @Column(name = "`totalCount`")
    @ApiModelProperty("")
    private Integer totalCount;

    @Column(name = "`isMixed`")
    @ApiModelProperty("")
    private Integer isMixed;

    private transient  String studentName;
}
